Node-RED block in Snap4City Microservice library node-red-contrib-snap4city-user is "synoptic-write">
Writes the input value on Synoptic Variable
Inputs
A JSON with these parameters:
- value
string or number
- he value that must be written on the Synoptic Variabl
- synopticId
string
- the id of the Synoptic to be read
- synopticVariableId
string
- the id of the Synoptic Variable to be read
An example of the JSON array filled with correct data:
{
"synopticId": 17849,
"synopticVariableId": "s4csvg_name",
"value": 5
}
or
{
"synopticId": 17849,
"synopticVariableId": "12345",
"value": 5
}
Outputs
- A message showing whether the writing was done correctly